nl_tokens: Makes sure that the focused element is within view .
pl_tokens: function updateScroll ( ) { if ( ! elements . li [ 0 ] ) return ; var height = elements . li [ 0 ] . offsetHeight , top = height * ctrl . index , <mask> = top + height , hgt = elements . scroller . clientHeight , scrollTop = elements . scroller . scrollTop ; if ( top < scrollTop ) { scrollTo ( top ) ; } else if ( bot > scrollTop + hgt ) { scrollTo ( bot - hgt ) ; } }