Stop sliding when running against a wall

(topic deleted by author)