partially fixed screen rotation bug.
https://github.com/Raiv/HtmlReader/issues/3

restoring state is not fully accurate, but works well enough