enable wide screen mode

refactoring for working on wide screen