     _isRightEdgeItem: (i) -> (i + 1) % @metrics.rowSize is 0
 
     _layoutItems: ->
-      $(@$items.toArray().reverse()).each (i, item) =>
+      @$items.get().reverse().forEach (item, i) =>
         $item = $ item
         offset = $item.position()
 


    toggleItemFocus: ($item, focused, delay) ->
      $item.toggleClass @classNames.focused, focused
      @_dimTimeout = setTimeout =>
        return unless focused is $item.hasClass(@classNames.focused)
        @$el.toggleClass @classNames.dimmed, focused


      $(window).resize _.debounce( =>
        @_updateMetrics off
        if @$expandedItem?
          @toggleItemExpansion @$expandedItem, off
          @_reLayoutItems @expandDuration
        else
          @_reLayoutItems()
        return
      , @resizeDelay)
      return
