Fixing sidebar problem