     # Disable tweening to enable instant 1 to 1 movement.
     @_setTweening 0
     # Derive the axis to fold on.
-    @_touchAxis = if @lastOp.anchor is 'left' or @lastOp.anchor is 'right' then 'x' else 'y'
+    @_touchAxis = if @lastOp.anchor in anchorListV then 'x' else 'y'
     # Set a reference to the last folded angle to accurately derive deltas.
     @["_#{ @_touchAxis }Last"] = @lastOp.angle
 

  # Allows other methods to change the tween duration or disable it altogether.
  _setTweening: (speed) ->
    # To loop through the shaders, derive the correct pair from the current anchor.
    if @lastOp.anchor is 'left' or @lastOp.anchor 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[@lastOp.anchor]


  # Simple method that returns the correct panel set based on an anchor.
  _getPanelType: (anchor) ->
    if anchor in anchorListV then @vPanels else @hPanels


  # Converts a shorthand anchor name to a full one.
