I don't know if this will work for you, based on your explanation, I wanted to give you a possible solution.
First take a parent div, make it's size, 100vh in height and 100vw in width, also make the overflow-x and y hidden. It will make your parent div to take the entire view box of the screen, and also disables scrolling.
Take a children div, this is where you will pull everything you want. Just make the children div, overflow-y-scroll, it will allow you to scroll inside your children div. Depending if you want to scroll in x axis to you can make it overflow-x-scroll as well.
For better visualization, just color the divs, that will give you a general idea.