Update required.php

Line 28 missing double quote causing required to not work. 
Added 34 - 38 as when screen loads the required is open. Default should have the child closed. This fixes that issue.