Fixes #27 - David now listens for hashchange event when switching between graph/tree views. It means that view changes appropriately when you hit the back button.