change layout to page