added animated flag;
added TouchUpInside event