Multiple layouts with a single SVG canvas