Well I kind of fixed it finally! Added this in the content div:
height: 437px;
overflow-y: scroll;
Used the same height for the sidebar, and now a scrollbar is added to the content.
It’s not what I had in mind eventually, but I guess I like this solution even better than what I wanted before.