Somethings the height of content changes when the window size changes (content getting smaller and longer). When resizing the window, content falls out of its container because of the fixed height.
Apply the javascript on the window resize event.
Active
2.0
Code