Added classes on the pagination view.