slightly modified dragging related helper functions to be able to use them with touch actions