better popup animation handling