[TextEditor] Limited maximum vertical srcolling to half of the screen.