added config setting for screen orientation