 
     _reLayoutItems: ->
       @$items.each (i, item) =>
-        @toggleItem $(item), off
+        @toggleItemExpansion $(item), off
         return
 
       _.delay =>

      $item.css { left: 'auto', right: 0 }
      return

    _handleDimmingOnTogglingItem: ($item, dimmed) ->
      _.delay =>
        @$el.toggleClass @classNames.dimmed, dimmed
        return
      , @dimDelay
      yes

    _handleFocusingOnTogglingItem: ($item) ->
      @$expandedItem = $item.addClass @classNames.focused
      yes

    _handleEnteringDimmedItem: ($item) ->
      return no unless @$el.hasClass @classNames.dimmed
      _.delay =>
        return if @$expandedItem?.hasClass @classNames.focused
        @$el.removeClass @classNames.dimmed
        return
      , @dimDelay
      yes

    _handleEnteringExpandedItem: ($item) ->
      return no unless $item.hasClass @classNames.expanded
      $item.addClass @classNames.focused
      @$el.toggleClass @classNames.dimmed
      yes

    _handleLeavingExpandedItem: ($item) ->
      return no unless $item.hasClass @classNames.expanded
      $item.removeClass @classNames.focused
      yes

    _isBottomEdgeItem: (i) -> (i + 1) > (@$items.length - @metrics.rowSize)


      , @resizeDelay)
      return

    toggleItemExpansion: ($item, expanded, silently=off) ->
      expanded ?= not $item.hasClass @classNames.expanded
      if expanded
        i = $item.index()
