Scroll element is not always the window