title: Bootstrap mega menu and Isotope.js: items get collapsed on page load
body: <p>I have a mega menu in a Bootstrap navbar, and since content's blocks are different in heights I'm using Isotope to fit them</p>
  
  <pre><code>&lt;ul class="row" id="isotope"&gt;
      &lt;li class="isotope-item col-sm-4 col-md-3"&gt; &lt;a href="#"&gt;Auto&lt;/a&gt; &lt;/li&gt;
      &lt;li class="isotope-item col-sm-4 col-md-3"&gt; &lt;a href="#"&gt;Autocarri&lt;/a&gt;
          &lt;ul&gt;
              &lt;li&gt; &lt;a href="#"&gt;Autobetoniere&lt;/a&gt; &lt;/li&gt;
              &lt;li&gt; &lt;a href="#"&gt;Cassone fisso e Centinati&lt;/a&gt; &lt;/li&gt;
              &lt;li&gt; &lt;a href="#"&gt;Con Gru&lt;/a&gt; &lt;/li&gt;
              &lt;li&gt; &lt;a href="#"&gt;Frigoriferi&lt;/a&gt; &lt;/li&gt;
              &lt;li&gt; &lt;a href="#"&gt;Mezzi d'opera&lt;/a&gt; &lt;/li&gt;
              &lt;li&gt; &lt;a href="#"&gt;Motrici&lt;/a&gt; &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li class="isotope-item col-sm-4 col-md-3"&gt; &lt;a href="#"&gt;Carrelloni - Rimorchi - Semirimorchi&lt;/a&gt; &lt;/li&gt;
      &lt;li class="isotope-item col-sm-4 col-md-3"&gt; &lt;a href="#"&gt;Dumper&lt;/a&gt; &lt;/li&gt;
      &lt;li class="isotope-item col-sm-4 col-md-3"&gt; &lt;a href="#"&gt;Escavatori&lt;/a&gt;
          &lt;ul&gt;
              &lt;li&gt; &lt;a href="#"&gt;Escavatori Cingolati&lt;/a&gt; &lt;/li&gt;
              &lt;li&gt; &lt;a href="#"&gt;Escavatori Gommati&lt;/a&gt; &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/li&gt;
      ...
  &lt;/ul&gt;
  </code></pre>
  
  <p>The problem is that if I open the mega menu all blocks are collapsed on top of each other: <a href="http://jsfiddle.net/z4jugbks/1/" rel="nofollow">here is a fiddle</a></p>
  
  <p>If I resize the window then they align correctly (aka isotope starts working).<br>If I <a href="http://jsfiddle.net/nj01uoay/3/" rel="nofollow">force the mega menu opened</a> on page load, they are also aligned correctly</p>
  
  <p>Where am I wrong with this? I can't find a solution
  Thanks</p>