Minor Changes related to Click and Drag

Minor Changes related to Click and Drag was resolved.. And the way in which press and release action was done was changed.
Also included some conditions for Exception handling