       @ctx.stroke()
 
   zoomInTo: (wMin, wMax) ->
-    
+    classifier.el.find('#graph').addClass('is-zooming')
     [cMin, cMax] = [@xMin, @xMax]
 
     zoom = setInterval (=>
       @plotPoints(cMin,cMax)
       cMin += 1.5 unless cMin >= wMin
       cMax -= 1.5 unless cMax <= wMax
-      if cMin >= wMin and cMax <= wMax
+      if cMin >= wMin and cMax <= wMax # when 'animation' is done...
         clearInterval zoom
+        classifier.el.find('#graph').removeClass('is-zooming')
         @plotPoints(wMin,wMax)
     ), 30
 
   zoomOut: (callback) ->
+    classifier.el.find('#graph').addClass('is-zooming')
     [cMin, cMax] = [@xMin, @xMax]
     [wMin, wMax] = [@smallestX, @largestX]
     zoom = setInterval (=>


    @plotPoints(classifier.prevZoomMin, classifier.prevZoomMax)


    if xClick < 80
      @plotPoints(classifier.prevZoomMin, classifier.prevZoomMax)
      @ctx.font = '10pt Arial'
      @ctx.textAlign = 'left'
      @ctx.fillStyle = '#FC4542'      


  onMouseMove: (e) =>
    console.log 'onMouseMove()'

    e.preventDefault()
    @draw(e) if @dragging
    @move(e) if @moving

    return if classifier.el.find('#graph').hasClass('is-zooming')
    
    zoomLevel = classifier.zoomLevel
    zoomRanges = classifier.zoomRanges
