move pages to categories