Svg animation working