Fixed pagination

Flipped "previous" with "next," and vice versa.