You need to apply a
scale transform to the SVG. You'll also need to add a
translate transformation to bring the image back into view as it flips around the x- or y-axis.
- $('#picture', svg.root()).attr('transform', 'scale(-1 1) translate(-200 0)'); // Flip along vertical axis
- $('#picture', svg.root()).attr('transform', 'scale(1 -1) translate(0 -200)'); // Flip along horizontal axis