added appropriate padding to pagination