css3 animation, implementing the "sine wave" effect