Fixed formatting and added consistency to pagination markup.