title: Gallery with mixed content types
body: <p>Gallery with mixed content types, it always opens the first element, should open the clicked element</p>
  
  <p><a href="http://codepen.io/anon/pen/KvcCJ" rel="nofollow">http://codepen.io/anon/pen/KvcCJ</a></p>
  
  <p>Simple example with just images, works fine.</p>
  
  <p><a href="http://codepen.io/dimsemenov/pen/qruJz" rel="nofollow">http://codepen.io/dimsemenov/pen/qruJz</a></p>
  
  <p>Thank you</p>