resizes the sidebar