derbyjs/tracks — pull request #20 by ile (2014-07-25 04:29:24+00:00)
Title: Added params.backbutton

I needed a way to detect if the page was rendered by the user pressing the back button. In case it was, I didn't do anything, but in case it was rendered "normally" (clicking a link), I called `window.scrollTo(0,0);` to scroll the page to the top. This is the way it usually works I believe (on the web without Derby) - the page is scrolled to the top.

So, this feature adds `params.backbutton = true` to the page route callbacks `(page, model, params, next)`.