fix automatic scrolling of text view