Features/no loop

Change in the API : a page that is not supposed to be rendered has an upcomingPageIndex value set to undefined.