A system for changing width of a person support apparatus is disclosed. A person support apparatus comprises at least one deck extension which is configured to be retracted or extended by at least one motor controlled by a bed controller. A mattress controller communicates with a bed controller and controls a fluid supply device to inflate or deflate a mattress supported by the person support apparatus to alter the width of the mattress. The mattress may also be inflated or deflated in response to manual extension or retraction of the deck extension.