added zoomMin and zoomMax