Adding ellipsis to the pager