allow for transfering selection as well as click caret position