add x and y axis movement for small image on page