Undo/redo scroll to correct cell in most cases

for unsorted tables.