add side-bar to main window