Reduce jitter when moving the selection and updating the offset field.
Fixed off by 1 errors on scrolling when using the keyboard to move to the top and bottom one row at a time.