Limit number of pagination links shown