title: Bootstrap collapse div content disappears
body: <p>I'm trying to create a collapsable div that holds thumbnails for images. So far, everything works except that the div content (the thumbnails) flashes and disappears upon collapse and expand. The content is there, it just doesn't stay. If you're quick enough you can click the thumbnail as it flashes and it takes you to the image path. My div looks like this:</p>
  
  <pre><code>&lt;div class="col-lg-8 col-lg-offset-2"&gt;
      &lt;div id="images" class="accordion-body collapse"&gt;
          &lt;a href="../images/1953.01.09.00.jpg" class="thumbnail"&gt;
              &lt;img src="../images/1953.01.09.00.jpg"&gt;
          &lt;/a&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And my button:</p>
  
  <pre><code>&lt;a class="btn accordion-toggle" data-toggle="collapse" href="#images"&gt;Images &amp;raquo;&lt;/a&gt;
  </code></pre>
  
  <p>You can look at my full code here: <a href="https://jsfiddle.net/krbylit/jttyq8jv/" rel="nofollow noreferrer">https://jsfiddle.net/krbylit/jttyq8jv/</a></p>