to display in landscape orientation or in portrait