Fix/redo scrollLeft calculation.

Now we use the current line length rather than the max line length. It works
well enough and avoids the expensive process of max line length tracking for
every buffer.
Tidy this code up a bit.
Nix maxLineLength tracking.