adds zooming ability to fabric js canvas.