BUG: Fix empty closed window issue with rolling min and max
- [x] closes #26005 (#26940 and #26910 solves other issues presented in #26005)
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

thanks @ihsansecer very nice, keep em coming!