rewritten layout code, added pageContentInset property
Updated README