add ping pong animation