sine animation with query