Add a reset button to clear the canvas
Dynamically obtain canvas width and height