rebuild page layout for unit pages