now measuring distance moved in frame too