move pages to page directory