toolbarHeight optimization