remove navbar for small windows
When the window is small (e.g. on a mobile device) and the sidebar is collapsed, clicking on the sidebar icon shows both navbar and sidebar below each other (which looks like two sidebars below each other). In this case, the navar should not be shown.