Sidebar functionality now working on all pages.