added setZoomMin() and setZoomMax()