add animation control