toggle animation done