got the sidebar working