Integer coordinates

TOUCH

CLICK


Sample code


Ref: Draggable Element in JS