Scroll cursor into view after un/redo

Closes #2278