Added pause and image pause when dragging