implement animation at home page