A patient support apparatus includes a base, a frame coupled to the base, a deck supported by the frame and capable of moving relative to the frame, and a siderail assembly movable between a raised position above the deck and a lowered position below the deck. The siderail assembly includes a linkage coupled to the frame to move between the raised and the lowered positions and a barrier coupled to the linkage to move therewith.