code: function getElementTopPosition(id) {
      // Get actual position of element if nested
      var $scroller  = getScroller(),
          $container = $scroller.find('.page-inner'),
          $el        = $scroller.find(id),
          $parent    = $el.offsetParent(),
          dest       = 0;
  
      dest = $el.position().top;
  
      while (!$parent.is($container)) {
          $el = $parent;
          dest += $el.position().top;
          $parent = $el.offsetParent();
      }
  
      // Return rounded value since
      // jQuery scrollTop() returns an integer
      return Math.floor(dest);
  }
docs: /*
  Return the top position of an element