Make dragging function with polymer-gestures.