Flickity Plugin

See How To Use Flickity


HTML Code

							
<div class="main-carousel">
  <div class="carousel-cell">...</div>
  <div class="carousel-cell">...</div>
  <div class="carousel-cell">...</div>
  ...
</div>
							
						

Javascript Code

							
$('.main-carousel').flickity({
  // options
  cellAlign: 'left',
  contain: true
});
							
						

For more information please check official site for detailed technical explanation.