element (id | element) - element to which the animation will be applied
options (object) - style properties which will be applied after the animation is finished
for some properties you'll need to define defaults on your page's css
duration (Number) - duration of the animation in milliseconds
after (Function) - a function which will be executed after the animation is finished
easing (Function|String) - easing function for the animation. Receives one argument pos which indicates position in time between animation's start and end. Note that easing functions will bypass the native CSS-transitions.
after (Function) - optional; a callback that will be excuted after everything is done (in addition to options.after)