I just made an Intersection observer to invoke function whenever it fired up. but it just working for one time. it\'s invoking function just for one time not every time that it\