Reorganise pages