title: Photoswipe can't list all images on page
body: <p>I'm using <a href="http://photoswipe.com/" rel="nofollow">http://photoswipe.com/</a> to generate a photo gallery on my website, it works fine, but when I add a div inside the gallery loop, it only show some images.</p>
  
  <p>Here is my HTML code: <a href="https://jsfiddle.net/mjuut2um/" rel="nofollow">https://jsfiddle.net/mjuut2um/</a></p>
  
  <p>I'm setting the gallery parent using:</p>
  
  <pre><code>initPhotoSwipeFromDOM('.demo-gallery');
  </code></pre>
  
  <p>Any idea on how to fix it? </p>