swapped view prev and next buttons