         item.object.removeClass('rondellItemNew rondellItemFocused').stop(true)
         .css('z-index', newZ)
         .animate(
-            width: item.sizeSmall.width
-            height: item.sizeSmall.height
+            width: itemWidth
+            height: itemHeight
             left: newX
             top: newY
             opacity: newOpacity 

      Math.pow(Math.abs(layerDiff) / rondell.itemCount, 0.5) * Math.PI
    funcOpacity: (layerDist, rondell) ->
      if rondell.visibleItems > 1 then Math.max(0, 1.0 - Math.pow(layerDist / rondell.visibleItems, 2)) else 0
    
    showCaption: (layerNum) => 
      # Restore automatic height and show caption

(($) ->
  # Global rondell stuff
  $.rondell =
    version: '0.8.3'
    name: 'rondell'
    defaults:
      resizeableClass: 'resizeable'
