open and close the sidebar with a hotkey