change layout by orientation at onLoaded
Merge branch 'master' of https://github.com/kazyx/WPPMM