Lines Matching refs:selectedOffset
761 var selectedOffset = $selected.position().top;762 if (selectedOffset + 90 > $nav.height()) { // add 90 so that we scroll up even 764 api.scrollTo(0, selectedOffset - ($nav.height() / 4), false); // scroll the item into view