add an header bar to the main window