This is not the interaction this can be achieved by simple css property position:sticky.
Just give the left hand side text div position: sticky and you are done. Let me know if you have any question.
@Haji_Khan_Keerio maybe I am wrong but if I set a div position: sticky it will remain visible all the time. It should only be visible if there’s content of its section in the screen.