Better you post the movement snippet than the animation snippet if you have troubles with the movement code?

but first check all lines/variables effecting your movement-variables...