Added code to stop animation when player wins game by getting to top.