Added each_with_index to Pager.