adds animation that stops when json is parsed