getting animation for compose