trying to figure out how to create a static class
Made fringeView a static class = a namespace

The syntax is really annoying; I can't use methods from inside the class
(in the local context) without prefixing by fringeView.
Playing with javascript functions/classes -> not conclusive
Cleaned up fringeView
dynamic selection of the papers to appear on the *visible* fringe
basic mechanism for removing papers that fall outside of the visible fringe
Using a "selected" in the *data* bound, instead of an attribute on the svg

the point is to have this information persistent, hence store in the
"model", not the view (svg)
Finally fixed all the things I had broken for select and highlight
super minor syntax change
In fact it still had bugs. Now it should be ok.

stored explicitly the index in the fringe for each paper
cosmetic
draft of the algorithm pseudo code
second draft (still lots of room for improvement!)
Reformat fringeView as a "proper" static class

fringeView = (function(){

function a(){}

var fringeView={}
fringeView.a=a;

return fringeView;
})();
Added simple update fringe button
updateFringe Button is now a regular html button

instead of a custom d3 object (faster from prototyping)
proper use of .style() to change css properties of the button
session manager loads previous session on startup
no reason to save visible fringe between sessions
fringe.getSelected()