centering and adding pagination to bottom page