Improve up/down movement for long lines