be a little smarter when selecting text