update jquery.nav.js to handle misordered lists

when you need to change order of the list items, for example because of float:right, getPositions will not work corectly, i've patched it to not count on right order of list items, but order of targets in html