Now the growing animations continue after a resize.
Added some comments
Removed 'clone' function in favor of using $.extend