map pages: x set based on winW and page index