disabling the toggle for the sidebar temporarily