particle collides with walls