prevent player sliding after stop