Set window animation behavior