Index works and is updated during scrolling