Change g0 and g$ to use the view port

The g0 and g$ should be moving to the start and end of the portion of
the line which is visible in the current view.  It should *not* be using
the start and end of the current visual line.