player moves smoothly with keys