add method setSelectionFromTop().