bugfix "can't change selected index when scroll to index 0"