Idiothetic orientation of a wandering spider: Compensation of detours and estimates of goal distance