Update Zoom History

updateZoomHistory(action, zoomHistory, i, j)

Arguments

action

one of c("zoom.in", "zoom.out")

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"