finish the sidebar