fix(scroll): find delegate by historyId

Closes #2572