           width: 0
           height: 0
       repeating: true           # Will show first item after last item and so on
+      wrapIndices: true         # Will modify relative item indices to fix positioning when repeating
       alwaysShowCaption: false  # Don't hide caption on mouseleave
       autoRotation:             # If the cursor leaves the rondell continue spinning
         enabled: false

        next: 'next'
      mousewheel:
        enabled: true
        threshold: 2
        minTimeBetweenShifts: 500
      touch:
        enabled: true

      layerDist = Math.abs(layerNum - @currentLayer)
      layerPos = layerNum
      
      # Find new layer position if rondell is repeating and indices are wrapped
      if layerDist > @visibleItems and layerDist > @maxItems / 2 and @repeating and @wrapIndices
        if layerNum > @currentLayer then layerPos -= @maxItems else layerPos += @maxItems
        layerDist = Math.abs(layerPos - @currentLayer)

