YUI animation functionality