renamed end() to stopAnimation() in class Animation