code: function selectPreviousItem(){
      var items = document.getElementById('searchresults').childNodes;
      var l = items.length;
      selectIndex((selectedSearchIndex + l - 1) % l);
    }
docs: ## selectPreviouis
  
  Selects the result immediately preceding the currently selected item,
  or the last item if the currently selected one is first in the list