If I draw a new graphic with left to right extension your original code works too, kind of but using your most recent suggestion yields a more precise movement. Thus I finished with your code, and published with reference to your code.
I guess the problem is that the main extension in the graphic is in y direction (bottom to top) whereas the main extension in yours is in x direction (left to right).
That makes sense. You would then need to create an image with double the height (instead of the width) of the original image and draw the original image at (0, 0) on the new double-sized image (presuming the hand points upward to begin with).