Show pagination only if pages > 1