Compute visible item range with overscan.
Algorithm:
The full list of items
Fixed height or height function
Current scroll position in pixels/cells
Visible viewport height in pixels/cells
Number of items to render outside viewport
Visible range with item offsets
Compute visible item range with overscan.
Algorithm: