got dragging of image working