Add animation delegate for extra customization.