Re-arrange pages