Prior to ruling on a joint physical custody petition the court may require the parties to participate in a home study or a custody evaluation. Prior to the court ruling on a joint physical custody petition, either parent may request mediation pursuant to §