You can use Toto's suggestion. But to make it work on list, you should use class instead of id. Assign a unique class to each list item (e.g item_<rownumber>) and to scroll use
document.querySelector(.item_20).ScrollIntoView()
here 20 is the row number of the next record on which you have clicked.