code: function scrollInterpolator4 (index, carouselProps) {
      const range = [1, 0, -1];
      const inputRange = getInputRangeFromIndexes(range, index, carouselProps);
      const outputRange = range;
  
      return { inputRange, outputRange };
  }
docs: From https://codeburst.io/horizontal-scroll-animations-in-react-native-18dac6e9c720