fix navmenu overload when display in mobile (firefox)