 
   zoomOut: (callback) ->
     # classifier.el.find('#graph').addClass('is-zooming')
+
+    @zoomLevel = 0
     @plotPoints(@smallestX, @largestX)
 
     [cMin, cMax] = [@xMin, @xMax]
     [wMin, wMax] = [@smallestX, @largestX]
-    
+
+    classifier.el.find("#zoom-button").removeClass("zoomed")
+    classifier.el.find("#zoom-button").removeClass("allowZoomOut") # for last zoom level
+    classifier.el.find('#ui-slider').attr('disabled',true)
+    classifier.el.find('.noUi-handle').fadeOut(150)
+
+
+
+
     # TODO: broken (a major pain in my ass)
     # step = 1.5
     # zoom = setInterval (=>

    return y_new

  removeOutliers: (data, nsigma) -> 
    console.log 'data.x.length: ', data.x.length
    console.log 'data.y.length: ', data.y.length
    data_new = {}
    data_new.x = []
    data_new.y = []

    @sliderValue = +classifier.el.find("#ui-slider").val()
    xClick = e.pageX - e.target.getBoundingClientRect().left - window.scrollX
    yClick = e.pageY - e.target.getBoundingClientRect().top - window.scrollY

    @plotPoints(@sliderValue, @sliderValue+@zoomRanges[@zoomLevel])

    if xClick < @leftPadding
