var elem = document.querySelector('.main-gallery');
var flkty = new Flickity( elem, {
  // options
  // cellAlign: 'left',
  // contain: true
  setGallerySize: false,
  wrapAround: true
});
@@ -173,16 +173,38 @@
 pAround:
+ true,%0A  imagesLoaded:
  true%0A%7D)

fix issue with image position calculation