make arrow keys useful for long lines