Better window frame animation