A siderail assembly includes a guide, a support frame coupled to the frame and movable between first and second positions, and a barrier coupled to the support frame and movable therewith. The siderail assembly further includes a handle coupled to the barrier to move between a first position and a second position relative to the barrier. The siderail assembly may include electronic controls to change the position or limit movement of various portions of a patient support apparatus on which the siderail assembly may be coupled.