         'left'
 
 
+  # Allows other methods to change the tween duration or disable it altogether.
+  _setTweening: (speed) ->
+    # If the speed value is `true` reset the speed to the original settings.
+    # Set it to zero if `false`.
+    if typeof speed is 'boolean'
+      speed = if speed then @settings.speed + 'ms' else '0'
+
+    # To loop through the shaders, derive the correct pair from the current anchor.
+    if @lastAnchor is 'left' or @lastAnchor is 'right'
+      shaderPair = ['left', 'right']
+    else
+      shaderPair = ['top', 'bottom']
+
+    # Loop through the panels in this anchor and set the transition duration to the new speed.
+    for panel, i in @panels[@lastAnchor]
+      panel.style[css.transitionDuration] = speed
+      if @shading
+        @shaders[@lastAnchor][shaderPair[0]][i].style[css.transitionDuration] = speed
+        @shaders[@lastAnchor][shaderPair[1]][i].style[css.transitionDuration] = speed
+
+    # Return null and not the loop's result.
+    null
+
+
+  # Gives the element a resize cursor to prompt the user to drag the mouse.
+  _setCursor: ->
+    if @_touchEnabled
+      if @lastAnchor is 'left' or @lastAnchor is 'right'
+        @stageEl.style.cursor = 'ew-resize'
+      else
+        @stageEl.style.cursor = 'ns-resize'
+    else
+      @stageEl.style.cursor = 'default'
+
+
   # Map of defaults for each method. Some are empty for now.
   _methodDefaults:
     accordion:

  # This setting forces Firefox to smooth edges, but usually results in poor performance,
  # so it's not recommended for animation-heavy use of oriDomi until Firefox's transform performance improves.
  forceAntialiasing: false


# oriDomi Class

      callback?()


  # Enables touch events and sets cursor.
  enableTouch: ->
    @_touchEnabled = true
    @_setCursor()


  # Disables touch events.
  disableTouch: ->
    @_touchEnabled = false
    @_setCursor()


  # Convenient way to retrieve an oriDomi instance from jQuery object.
  # For example, `$oriDiv.oriDomi('getInstance')` will return the oriDomi instance
  # instead of the jQuery selection.
