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

      @$el.css width: @metrics.wrapWidth, height: @metrics.wrapHeight
      return

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

      _.delay =>
        @$items.each (i, item) =>
          $item = $ item
          $item.css 
            top: 'auto', left: 'auto', bottom: 'auto', right: 'auto'
            position: $item.data @attr('original-position')

        @_layoutItems()
        return
      , @expandDuration
      return

    _updateMetrics: (hard=on) ->


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