added auto-down scrolling on sendMessage and pressing tab with empty input recalls last input