     if cube.last % 90 isnt 0
       cube.last -= cube.last % 90
 
-    cube.el.classList.remove 'no-tween'
-    cube.el.style[css.transform] = @_getTransform cube.last
+    cube.holder.classList.remove 'no-tween'
+    cube.holder.style[css.transform] = @_getTransform cube.last
 
 
   _onTouchLeave: (e, cube) ->

      cube[side].style[css.transform] = "#{ rotation } translate3d(0, 0, #{ @size / 2 }px)" +
        (if @horizontalFlip then 'rotateZ(90deg)' else '')
      cube[side].style.fontSize = @fontSize
      cube.el.appendChild cube[side]

    eventPairs = [['TouchStart', 'MouseDown'], ['TouchMove', 'MouseMove'],
      ['TouchEnd', 'MouseUp'], ['TouchLeave', 'MouseLeave']]

      delta:  0
      last:   0
      el:     document.createElement 'div'
      holder: document.createElement 'div'

    cube.el.className = "#{ cssClass }-cube #{ cssClass }-cube-#{ set }"
    cube.el.style.margin = "0 #{ @margin }px"
    cube.el.style.width = cube.el.style.height =
      cube.holder.style.width = cube.holder.style.height = @size + 'px'
    cube.holder.style[css.transform] = @_getTransform 0
    sideProto = document.createElement 'div'
    sideProto.classList.add cssClass + '-side'

    for side in faceNames
      cube[side] = sideProto.cloneNode false
      cube[side].classList.add "#{ cssClass }-side-#{ side }"
      rotation = do ->
        switch side
          when 'front'
