Details about how Motorola's foldable RAZR phone will work leaked