adjust layout and size of toolbar