I went from square barn doors to square corner lift up tailgate and drop down tailgates. Truck box is built from 25mm (1 inch in your language) square steel frame.
winter you can close everything up from the inside.
summer you can have top and bottom gates booth open
spring you can open top gate and have bottom closed
Autumn (fall) you can have bottom open top closed
My garage is in the front and is full width under the raised double bed for my bicycles and dinghy I didn't want a walk through and can still tilt the cab for maintenance.