Added css animation for popups