<commit_before>$('.m-scooch').scooch();
<commit_msg>Mid-carousel woes<commit_after>$('.m-scooch').scooch();

if ( $('.m-item:first-child' ).hasClass('m-active') ) {
    $('.m-scooch-controls [data-m-slide="prev"]').addClass('hide');
}

// Create array of images in carousel
var images = $('.m-item').map(function() {
     return this
}).get()

// Pseusocode
//
// when afterSlide fires
//
//     make sure to reevaluate the situation, adding buttons back that were previously removed
//
//     for image in images
//         if !image[i-1]
//             add hide class to previous button
//         if !image[i+1]
//             add hide class to next button
// 

{'fraction_non_alphanumeric': 0.18373493975903615, 'fraction_numerical': 0.0030120481927710845, 'mean_word_length': 2.556149732620321, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4578228', 'n_tokens_mistral': 223, 'n_tokens_neox': 215, 'n_words': 57}