cleaned up pop up animation