Fixes navbar collapse for mobile menus