fixed bug with page content displaying, while rotaing screen