[TIMOB-14190] added device orientation to layout

needs 3.1.1 back port