early return for window scroll event if window is not scroll container