move selection code to OnSingleTapUp