restore cursor position on open