fixed responsive resize problem with firefox