Implement seeking to selection start and end.