update animation speed
refactor movement