Caret and Selection with scroll