simplified position calculation in onDrag