split pages into sections