window open animation issue