add changeWindowSizeOnTheFly recording