           @shaders[anchor].right[i] = panel.getElementsByClassName('oridomi-shader-right')[0]
 
         @panels[anchor][i] = panel
-
-        unless i is 0
-          @panels[anchor][i - 1].appendChild panel
+        @panels[anchor][i - 1].appendChild panel unless i is 0
 
       @stages[anchor].appendChild @panels[anchor][0]
 

  shading: 'hard'
  # Determines the duration of all animations in milliseconds.
  speed: 700
  # This class is applied to elements that oriDomi has been invoked so they can be
  # easily targeted later if needed.
  oriDomiClass: 'oridomi'
  # This is a multiplier that determines the darkness of shading.

    @enableTouch() if @settings.touchEnabled

    # Append each stage to the target element.
    @stageEl.appendChild @stages[anchor] for anchor in @anchors

    # Show the target if applicable.
    if @settings.showOnStart
