disable zoom buttons when max or min zoom is reached