display 40 articles by default, autopage when 20 are left