fix the bug with dropdown mobile-menu in chrome and safari