changed pagination layout and classes