Update to work in landscape orientations.