viewport: ensure currentlyRenderedRowsLookup is kept in sync ...

... also code comments