Implement PingpongLooping Animation controller.