       ) ->
          @panning = false
 
-         @minZoom = 1 / 4 - 0.01
+         @minZoom = 1/4 - 0.01
          @zoom = 1
          @maxZoom = 1
 

      setPan: ->
         scrollTo -@panZoom.panX(), -@panZoom.panY()

   zoomInFactor = Math.sqrt(2)
   zoomOutFactor = 1 / Math.sqrt(2)
   zoomFactor = (scrollDelta) ->
      if scrollDelta < 0 then zoomInFactor else zoomOutFactor



   return (
      PanZoom: PanZoom
      bindElement: (el, initX=0, initY=0) ->
         new PanZoomElement(
            new PanZoom(
               initX, initY
               el[0].offsetWidth, el[0].offsetHeight,
               _viewport[0].offsetWidth, _viewport[0].offsetHeight
            ), el
         )
   )
