size instead of limit
show pager only if there are more than one pages