popup animations bugfix