       
       selfYCenter = @container.offset().top + @container.outerHeight() / 2
       
-      if selfYCenter > viewportTop and selfYCenter < viewportBottom and Math.abs(dx) >= @mousewheel.threshold
+      if selfYCenter > viewportTop and selfYCenter < viewportBottom and Math.abs(dx) > @mousewheel.threshold
+        e.preventDefault()
         if dx < 0 then @shiftLeft() else @shiftRight()
         @mousewheel._lastShift = now
-      
+
     _onTouch: (e) =>
       return unless @touch.enabled
       

      
      $.extend true, @, $.rondell.defaults.scrollbar, options

      @container.addClass("rondell-scrollbar-#{@orientation}")
      .css "width", @width
        
      @_initControls()

      @_minX = @padding + @scrollLeftControl.outerWidth() + @scrollControl.outerWidth() / 2
      @_maxX = @container.innerWidth() - @padding - @scrollRightControl.outerWidth() - @scrollControl.outerWidth() / 2

    _initControls: =>
      @scrollLeftControl = $("<div class=\"rondell-scrollbar-left\"/>")

      layerDist = Math.abs(layerNum - @currentLayer)
      layerPos = layerNum
      
      # Find new layer position if rondell is repeating and indices are wrapped
      if layerDist > @visibleItems and layerDist > @maxItems / 2 and @repeating and @wrapIndices
        if layerNum > @currentLayer then layerPos -= @maxItems else layerPos += @maxItems
        layerDist = Math.abs(layerPos - @currentLayer)

