set correct max/min zoom and initial zoom scale