player now moves smoothly