Add stopAnimation method