add support for rotating beds