Fixed the side menu hiding issue on mobile phones