he had been carelessly opening boxes and bottles , shaking out the contents , and tossing them on the floor ; a litter of bottles , many of them broken , lay amid the scattered remnants of dr. rawlings 's selection of medicines .