make sidebars dynamically generated