fixing menu for mobile edge case