hide pagination when total number of posts too few