Add how kwarg to rolling_* functions [fix #6297]