define zoomIn and zoomOut as functions