Backward paging working + lots of bugfixes