adds spacing to pagination