a better pagination
change layout and beautify with css