validate min<=zoom<=max