Improve dragging performance

This pull request suggests accumulating drag deltas and use animation frames to draw.