Add Zoom to History

addZoomToHistory(zoomHistory, i, j)

Arguments

zoomHistory

list of (i, j) pairs, storing the history of zoom settings

i

index in range of slider "left"

j

index in range of slider "right"