Added applyZoom & revertZoom functions