After a newline is inserted, scroll it into view.