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


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

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

    _reLayoutItems: (delay=0) ->
      clearTimeout @_layoutTimeout if @_layoutTimeout?
      @_layoutTimeout = setTimeout =>
        key = @attr 'original-position'
        @$items.css 
          top: 'auto', left: 'auto', bottom: 'auto', right: 'auto'
          position: -> $(@).data key

        @_layoutItems()
      , delay
      return

    _updateMetrics: (hard=on) ->
