responsively scale canvas and image