Fauxton: fix navigating back to previous page

Fixes #COUCHDB-2169