toggle animation now works