Split containers into portrait and landscape