modify home page style and add pagination in home page