removed the popup class to fix div disappearing, added show/hide delay for some animation effects