added repeat to sprite animations