make pagination block nicer