restored zoomIn, zoomOut functions