Added bouncing off walls