only require ResizeObserver polyfill when window is available
only require ResizeObserver polyfill when window is available

souporserious/react-view-pager,souporserious/react-view-pager,souporserious/react-motion-slider,souporserious/react-motion-slider