added a way to get out of the collision when you hit a wall