code: function displayItemSidebar(uri) {
    uri = (uri || currentURI).replace(/#.*/, '');
    exports.currentURI = currentURI = uri;
    // watchannotation
    $('.watch.annotation').click(function() {
      if (treeInterface.lastAnno) {
        $('.watch.modal').modal('show');
        $('#watchItems').val('annotation:'+treeInterface.lastAnno.flattened);
      }
    });
    $('.context.dropdown').dropdown();
  
    context.pubsub.item.annotations.request(uri, function(data) {
      console.log('/annotations', data);
      // update query items
      if (data.annotationSummary && lastQuery.results.hits) {
        console.log('CHECKME why would this fire?');
        var i = 0, l = lastQuery.results.hits.hits.length;
        for (i; i < l; i++) {
          if (lastQuery.results.hits.hits[i]._id === data.uri) {
            lastQuery.results.hits.hits[i]._source.annotationSummary = data.annotationSummary;
            break;
          }
        }
        updateResults(lastQuery);
      }
  
      if (data.uri === currentURI) {
        annoTree.display(data.annotations, data.uri, treeInterface);
      }
    });
    $('.details.sidebar').sidebar('show');
  }
docs: populate and display the URI's sidebar