An end panel (312) for a patient-support apparatus (310) includes a main portion (316) and one or more movable portions (330, 332). The movable portions (330, 332) are movable to provide a barrier (318) in a gap between a siderail (360) of the patient-support apparatus (310) and the main portion (316) of the end panel (312).