Finished the vote pagination functionality