calculate current angle over the past 5 frames, not just the last 1 frame