working on better flight animation algorithm