made pagination pretty