Navigation bar dimensions and Master switch (1/2)

- Change height when in portrait
- Change width when in landscape
- Option to enable or disable nav bar

This is partially ported from SlimRoms
Thanks to @kufikugel
Credit to @cristianomatos

PS2: Rebase
PS3: Fix whitespace and tabs
PS4: Fix more whitespace and tabs

Change-Id: Id7d3a6f52856b58e4074ed0f8e4231c92349d11f