finish pagination on home page