Added correct wall bounce for horizontal and vertical walls.