Adds animation to SVG