range: start autoscrolling near the edges of ranges
If a range goes all the way to the edge of the screen then we don't have any way to activate autoscrolling. By adding a small region at the ends of the range we can handle this case. This is the same approach used in treeviews.
Showing with 3 additions and 2 deletions