add animation for commontoolkit popupWindow and toast