add save the last session cursor position