WIP: fixes to rolling_window functions with center=True

#3155, #2953