Remember cursor position in the editor when navigating snapshots back and forth