Shifting an image using HTML canvas

Simple page

Click image to shift