Sidebar working correctly