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