add a respect_cursor_position option