Use local variable when calculating following position.
(Will allow for manual panning in the future.)