even better flight animation algorithm