title: Twitter Bootstrap: Affix not triggering in single page application
body: <p>I am doing a Single Page Application and using Twitter Bootstrap.  I am trying to use the Affix like so:</p>
  
  <pre><code>&lt;div data-spy="affix" data-offset-top="100"&gt;
  </code></pre>
  
  <p>When I refresh the page, everything works fine, the bootstrap affix adds a class like so:</p>
  
  <pre><code>&lt;div class="affix-top" data-spy="affix" data-offset-top="100"&gt;
  </code></pre>
  
  <p>and after I go past 100px, it changes it to class="affix".  However, if I click off this page and come back, it no longer adds any classes to my div.  In fact, it does not trigger the function in bootstrap at all to set the actions to check the position, etc.</p>
  
  <p>Any insight would be great in how I can manually trigger it when I need to?</p>