title: Bootstrap Affix ( bottom class )
body: <p>hello all i have a bootstrap Affix , The broblem is the #sideBarContainer is take the rop class perfect , and when i scroll the class change to Affix perfect too , but when i arrive to the point that i need it to stop and change the class to bottom-affix , not stop :( why ??</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('#sideBarContainer').affix({
    offset: {
      top: 100,
      bottom: 200,
  
    }
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div id="sideBarContainer"&gt;
    &lt;div class="ReadHeaderSections"&gt;
      &lt;p&gt;&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>