better support for toolbar, menubar and scrollbar