[BUGFIX] page repository works with wrong pathes

also the behaviour of getNextPage and getPreviousPage has to be switched.

Resolves: #118
Documentation: #118
Releases: 1.2.1