[BUG #7717] On iOS7 the headers are partially covered by the browser's chrome in landscape view

* Merge with Branch_3_0_x
* Setting window.scrollTo(0,0) on orientationChange event.
* Setting height of the root element to window.innerHeight because document.clientHeight is calculated 20px too big.
* Adding a lower page offset for drawers about 20px.