 safebind = Continuum.safebind
 
 class PanToolView_ extends Bokeh.PlotWidget
+  # draggin2 is used because having a variable named @dragging causes some sort of naming conflict.
+  # I need to look through this and figure out what is going on
+
   initialize : (options) ->
-    @started_dragging = false
     super(options)
     @draggin2 = false
     @started_dragging = false

    [x_, y_] = [@plot_model.rxpos(x), @plot_model.rypos(y)]
    return [x_, y_]

  _start_drag : (e, x, y) ->
    @draggin2 = true
    [@x, @y] = @mouse_coords(e, x, y)

    for ymap in ymappers
      @_drag_mapper(ymap, ydiff)

Bokeh.PanToolView = PanToolView_
