Add a delegate method called before flip animation