Added support for a new options key which deletes the animated object when the transition completes