Added upper and lower limits to zoom.