cleaned up dragEvent, now using a ray