animations working perfectly