add stopAnimation method