fixing accordion and datepicker issue