<div class="swiper-container slider-one">
  <div class="swiper-wrapper">
    <div class="swiper-slide">
      <img class="thumb" src="https://picsum.photos/201/201">
      <div class="demo">
        <div class="circle red"></div>
        <div class="circle red"></div>
        <div class="circle red"></div>
        <div class="circle red"></div>
        <div class="circle red"></div>
      </div>
    </div>
    <div class="swiper-slide">
      <img class="thumb" src="https://picsum.photos/200/200">
      <div class="demo">
        <div class="circle"></div>
        <div class="circle"></div>
        <div class="circle"></div>
        <div class="circle"></div>
      </div>
    </div>
    <div class="swiper-slide">
      <img class="thumb" src="https://picsum.photos/202/202">
      <div class="demo">
        <div class="circle purple"></div>
        <div class="circle purple"></div>
        <div class="circle purple"></div>
        <div class="circle purple"></div>
        <div class="circle purple"></div>
      </div>
    </div>

  </div>
  <!-- Add Pagination -->
  <div class="swiper-pagination"></div>
</div>
.demo {
  position: relative;
  margin: 20px auto;
  width: 620px;
  height: 28px;
  background-color: #121212;
  border-radius: 12px;
  overflow: hidden;
  border: solid 4px #121212;
}

.thumb {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 50px;
}

.circle {
  width: 20px;
  height: 20px;
  background-color: #86cc01;
  position: absolute;
  border-radius: 50%;
  display: inline-block;
  left: -20px;
  top: 4px;
}

.red {
  background-color: red;
}

.purple {
  background-color: purple;
}
/* swiper */
html,
body {
  position: relative;
  height: 100%;
}
body {
  background: #eee;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #000;
  margin: 0;
  padding: 0;
}
.swiper-container {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  position: relative;
  background: #fff;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
/* SWIPER */
var swiper = new Swiper(".swiper-container", {
  loop: true,
  pagination: {
    el: ".swiper-pagination",
    clickable: true
  }
});

/* GSAP */
tl = new TimelineMax();

tl.staggerTo(
  ".circle",
  1.5,
  {
    x: 640,
    repeat: 1,
    opacity: 1,
    repeatDelay: 0.5,
    force3D: true,
    ease: SlowMo.ease.config(0.3, 0.5)
  },
  0.15
).from(".thumb", 1, { x: 200, y: -200, opacity: 0 }, 0);

swiper.on("init", function() {
  /* do something */
  tl.play(); //play the timeline
});

/* swiper events */
swiper.on("slideChange", function() {
  tl.restart(); //restart the timeline;
  tl.play(); //play the timeline
});
Run Pen

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.1/css/swiper.min.css

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.1/js/swiper.min.js
  2. https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.3/TweenMax.min.js
  3. https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.7/ScrollMagic.min.js
  4. https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.7/plugins/animation.gsap.js
  5. https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.7/plugins/debug.addIndicators.min.js