Disabling scrolling on main view when sidebar is collapsed