     normalized = @_normalizeArgs 'ramp', arguments
     return if !normalized
     [angle, anchor, options] = normalized
-    
-    rotation = @_getRotation anchor, angle
-    @panels[anchor][1].style[css.transform] = @_transform rotation
-
+    @panels[anchor][1].style[css.transform] = @_transform angle
     @_callback options
 
 

    normalized = @_normalizeArgs 'curl', arguments
    return if !normalized
    [angle, anchor, options] = normalized
    
    angle /=  @_getPanelType anchor
    rotation = @_getRotation anchor, angle

    for panel, i in @panels[anchor]
      panel.style[css.transform] = @_transform rotation
      
      if @shading
        @_setShader i, anchor, 0

      setTimeout options.callback, delay


  _transform: (angle, fracture) ->
    switch @lastAnchor
      when 'left'
        axes = [0, 1, 0, angle]
      when 'right'
        axes = [0, 1, 0, -angle]
      when 'top'
        axes = [1, 0, 0, -angle]
      when 'bottom'
        axes = [1, 0, 0, angle]
      
    if fracture
      [axes[0], axes[1], axes[2]] = [1, 1, 1]

    "rotate3d(#{ axes[0] }, #{ axes[1] }, #{ axes[2] }, #{ axes[3] }deg)"


  _normalizeAngle: (angle) ->
