         setTimeout =>
 
           unless i is limit
-            do (j = i) =>
+            do (i) =>
               setTimeout =>
-                @panels[anchor][j].style.display = 'none'
+                @panels[anchor][i].style.display = 'none'
               , delay * .8
 
           @panels[anchor][i].style[css.transform] = @_transform angle



  unfold: (callback) ->
    if !@isFoldedUp
      if typeof callback is 'function'
        callback()



for key, value of css
  css[key] = testProp value
  unless css[key]
    devMode and console.warn 'oriDomi: Browser does not support oriDomi'
    oriDomiSupport = false
    break
