Make back, forward, and deep linking work.

Instead of tracking sections (dom elements), now track panes (which are
just names).