first pass of visibleStartingIndex and numberVisibleWithin