a first housing of an electronic device is connected to a second housing of the electronic device in a slidable manner . a rack is positioned on the first housing . a gear unit and a hinge are positioned on the second housing . the gear unit engages with the rack , and a gear positioned at an end of the hinge engages with the gear unit .