add animation check