setting min and max zoom levels