move the toolbar to the main window