reorganize pages