setup layout for secondary pages