moving solids bounce off walls