fix dragging on mobile devices