use scrollDirection to detect picker orientation.