manage animation instance in window