Add a method for custom animations