fix `next`, `back` urls
Merge pull request #1293 from wangsai/fix-url

fix `next`, `back` urls