Improved pagination, made posts per preview a global