Check animation, if false after click, add class