refactored sidebars