added support for custom sidebars