At first, I went with a JS solution, so I needed to know when pages changed so I could get the height and check if I needed to add overflow. But then I realized overflow: auto would do that for me lolololol