arranging the pages