Infinite Scrolling using Vanilla JS Fetch posts from fake API wheneven the user scrolls to each paricular depth