Getting the sidebar working