finished movement logic