add smooth player motion