Build zoomable and pannable SVG canvas

Could we fix up the indentation here?