Fixed: page hashParam broken in grid mode

The problem was actually caused by an older bugfix I made (to unexpected page jumps when changing pages per row in grid view) in the wrong place. See issue discussion.

Fixes #150