Override setSelect(int) and setSelectionFromTop(int, int) to account for the height of the pinned view if it is displayed
Prevent NPE when adapter's data set changes.