page hash fix

if you have a single page in a section the hash doesn't update so if you
do a hard page refresh you get taken back to the homepage