Category sidebar now works properly and correct bars are now displayed with links on the homepage when a category is selected