Trim and center SVG

Follow-up on #275, enhances 08966c6134deda92d9095ee322825e86905a9a8a
Merge pull request #279 from jonhoo/patch-1

Trim and center SVG