Moving animation now properly terminates