Pass oldZoom and newZoom into beforeZoom callback