edit main page layout