Collapse the selection with collapseToEnd()