add link to tv
finished the pagination function