onDrag semi-working