Fix modal height and accordion in firefox