fix(noSwipingSlide) getting classname via getAttribute to work for SVG as well