added compensation of head movement for hand pointing