ball turns green in air ball turns red when idle Sine animation is used to make the newton cradle type structure