Computes the buffer zone boundaries around visible items.
The min/max indices of visible items
Number of items to include beyond visible range
Total number of recipes in the list
The start and end indices of the buffer zone
Computes the buffer zone boundaries around visible items.