clean up the sidebar