 
     _adjustItemToRightEdge: ($item) ->
       $item.css left: 'auto', right: 0
-      return
-
-    _clearDimTimeout: ->
-      return unless @_dimTimeout?
-      clearTimeout @_dimTimeout
-      @_dimTimeout = null
       return
 
     _getMetricSamples: ->

        i = $item.index()
        if @_isRightEdgeItem(i) then @_adjustItemToRightEdge $item
        if @_isBottomEdgeItem(i) then @_adjustItemToBottomEdge $item
        if @solo is on then @$items.removeClass @classNames.expanded

      $item.toggleClass @classNames.expanded, expanded
      @$expandedItem = if expanded then $item else null


      # Dimming.
      @focusDelay *= parseFloat @$sampleItem.css('transition-duration')
      @$expandedItem = null
      @on
        mouseenter: (e) =>
          @toggleExpandedItemFocus $(e.currentTarget), on
          return
        mouseleave: (e) =>
          @toggleExpandedItemFocus $(e.currentTarget), off
          return
        expand: (e, expanded) =>
          clearTimeout @_dimTimeout if @_dimTimeout? and expanded
          @toggleItemFocus $(e.currentTarget), expanded, @expandDuration
          return
      , ".#{@classNames.item}"
      @on 'mouseleave', =>
        @toggleItemFocus @$expandedItem, off, 0
        return

      # Layout.
      @metrics = {}
