removal of central function for flip animation