stop animation when done.