without this line, the toolbar jumps back up to the keyboard height when dismissing by "flicking" down