         unless item.small
           item.small = true
           if item.icon and not item.resizeable
-            margin = (itemHeight - item.icon.height()) / 2
+            margin = (@itemProperties.size.height - item.icon.height()) / 2
             item.icon.stop(true).animate(
                 marginTop: margin
                 marginBottom: margin
               , fadeTime
             )
       else if item.hidden
-        # Update position even if out of view to 
+        # Update position even if out of view to fix animation when reappearing
         item.object.css(
           left: newX
           top: newY

        
    # Return rondell instance
    rondell
    
)(jQuery) 

      @maxItems = numItems
      
      # Update rondell properties with new options
      if options?.preset of $.rondell.presets
        $.extend(true, @, $.rondell.defaults, $.rondell.presets[options.preset], options or {})
      else
        $.extend(true, @, $.rondell.defaults, options or {})
        
      @itemProperties.sizeFocused =
        width: @itemProperties.sizeFocused.width or @itemProperties.size.width * @scaling
        height: @itemProperties.sizeFocused.height or @itemProperties.size.height * @scaling
