Fix line number scrolling

Still dealing with off-by-one errors. Thanks ACE!

Paired with Lindsey Miller.

Fixes #38