title: Offset Top Not Working In IOS
body: <p>Here is the complete code <a href="http://jsfiddle.net/vinex08/uhm26em1/">http://jsfiddle.net/vinex08/uhm26em1/</a></p>
  
  <pre><code>jQuery(function ($) {
  var distance = $('.c').offset().top,
      $window = $(window);
  
  $window.scroll(function () {
      if ($window.scrollTop() &gt;= distance) {
          $(".b").css({
              position: 'fixed',
              top: '0'
          });
      } else {
          $(".b").css({
              position: 'inherit',
              top: '10'
          });
      }
  });
  });`
  </code></pre>
  
  <p>It's working on Chrome and Firefox but when i checked it via iPad AIR and iPhone, the effect executes even before the 'class c' hits the top. </p>