Extending custom animations

adding more flexibility to custom animations, there are now two optional parameters in animator.animate which can be used to pass additional functions. Those two functions will be called before and after animator is executed respectively.