Properly Show and hide the sidebar on mobile layout when using Alt+g