I am trying to make a image slider in react in which a `image` is change after 5000 second.
I checked from here <http://mumbaimirror.indiatimes.com/> .where this website implement that functionality .
I tried to implement same this in react .I am able to make that , but my image is not slide(from right to left) in other words image not showing animation when second image show n view 
here is my code
<https://codesandbox.io/s/YrO0LvAA>

```
 constructor(){
    super();
    this.pre=this.pre.bind(this);
     this.next=this.next.bind(this);
    this.state ={
      currentSlide :0
    }
     setInterval(()=>{
       var current = this.state.currentSlide;
    var next = current + 1;
    if (next > this.props.stories.items.length - 1) {
      next = 0;
    }
          this.setState({ currentSlide: next });

     }, 5000);

  }

```