Support for portrait / landscape detection and assigning of the appropriate style for each case.