adjust input toolbar layout and button sizes.