Added second page of scroll to index
Adapted for multiple pages of scroll