pagination on home page done