Flags from the United States and Pennsylvania were at either side of the casket , and a folded American flag--to be draped over his casket and given to his widow at the funeral--was the only object placed beside him .