Rebuild page layout