Adjust scroll past end height logic

This will work properly with very long lines and soft wrap