Added dragging for ios