change position of pages