move responsive function into svgUtils module