updated animation control