change hash when browsing next/prev
fix browsing bug