Fix inverted logic in visibleLines

Prevents one pointless display update when scrolling a position
into view.