add side bar to main controller.