Return to the correct page in the pagination of the program list page