finally got the movement filtering right! (i think...)