Trim and center SVG

Follow-up on #275, enhances 08966c6134deda92d9095ee322825e86905a9a8a