Setting the window frame is independent of the animation parameter
Improved documentation