Use the correct values for the toolbarHeight in various modes