Sidebar is now working properly