fixed scrolling when new text is typed