the drag functionality is jumpy, so implemented a swipe left or right feature, to drag the image around
bug fix for the distance on touchmove