Applied layout to the page