Only move cursor left if cursor is on last line. Fixes #186.

Simple check to prevent moving the cursor left unless it's on the last line.