Fix Showing/hiding menu items on mobile devices