fixing animation

so that it goes along the bfs path