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

            else
              panel.style[anchorSet[0]] = '-100%'

          if @shading
            for a, i in anchorSet
              @_shaders[anchor][a][panelN] = panel.children[0].children[i + 1]


    # For all but the first two panels, set the angle to 0.
    for panel, i in @panels[anchor]
      @panels[anchor][i].style[css.transform] = @_transform 0, anchor if i > 1
      @_setShader i, anchor, 0 if @_shading

    @

