create titlebar