api: scale the SVG to fit the width of the page