Add scroll page index change detection