Fauxton: fix navigating back to previous page

Fixes #COUCHDB-2169

Had this still on the stash from sunday. :)