popup animation fix