With the container element it gets more confusing because it isn't obvious that we're always comparing against the top-level scrolling container here.