Yep, this does look a bit hacky indeed — maybe there is a way to express `window_scroll_up` clearer?