   getScrollViewClientRect: ->
     @scrollViewLines[0].getBoundingClientRect()
 
-  mousewheel: (e) ->
+  mouseWheel: (e) ->
     {wheelDeltaX, wheelDeltaY} = e.originalEvent
     if wheelDeltaX
       @editorView.scrollLeft(@editorView.scrollLeft() - wheelDeltaX)

      @miniOverlayer[0].style.webkitTransform =
        @miniOverlayer[0].style.transform = 'translate3d(0, ' + top + 'px, 0)'

  transform: (width, scale, xy) ->
    scaleStr = 'scale(' + scale.join(',') + ')'
    translateStr = 'translate3d(' + xy.join(',') + 'px, 0)'

  initialize: ->
    @attach()

    @on('mousewheel', @mouseWheel.bind(this))
    @on('mousedown', @mouseDown.bind(this))

    @subscribe @paneView.model.$activeItem, @onActiveItemChanged
    @subscribe @paneView.model, 'destroy', => @destroy()
