title: Sticky-kit element jumping
body: <p>Experiencing an issue with Sticky-kit that's causing one of my elements to jump when it reaches the bottom of its parent div.</p>
  
  <p>Here's my code: </p>
  
  <pre><code>&lt;div class="wrapper"&gt;
  
  &lt;div id="bg"&gt;
  
    &lt;div id="text"&gt;
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididdunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exedrcitation ullamco laborisd nisi ut aliquip ex ea commodo consequat. Duisds aute irure dddsdsdsolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
    &lt;/div&gt;
  
    &lt;div id="pic1"&gt;
      Pic1
    &lt;/div&gt;
  
    &lt;div id="pic2"&gt;
      Pic2
    &lt;/div&gt;
  
    &lt;div id="pic3"&gt;
      Pic3
    &lt;/div&gt;
  
  &lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS</p>
  
  <pre><code>.wrapper {
    height:2000px
  }
  
  #text {
    float:right;
    position: relative;
    width: 300px;
    background-color:orange;
    height:400px;
  
  }
  
  #bg {
      background-color: #c0c0c0;
      width:800px;
      height:650px;
    padding:0;
    margin:0;
  }
  
  
  #pic1 {
  
   height:150px;
    width: 300px;
    position:relative;
    background-color:red;
  
  }
  
  #pic2 {
  
   height:150px;
    width: 300px;
    position:relative;
    background-color:blue;
  
  }
  
  #pic3 {
  
   height:150px;
    width: 300px;
    position:relative;
    background-color:green;
  
  }
  </code></pre>
  
  <p>JS</p>
  
  <pre><code>$( document ).ready(function() {
      $("#text").stick_in_parent();
    $("#pic1").stick_in_parent();
    $("#pic2").stick_in_parent();
    $("#pic3").stick_in_parent();
  
  
  });
  </code></pre>
  
  <p><a href="http://codepen.io/SeanLindsay1/pen/dOqgER" rel="nofollow noreferrer">http://codepen.io/SeanLindsay1/pen/dOqgER</a></p>
  
  <p>Seems to be occuring due to the div being floated right, but I'm not entirely sure.</p>