Issue is that you need to target a specific selector to the one clicked. So Change
$( '.tablescroll_head' ).click(function() {
$( '.tablescroll_wrapper').slideUp(); //This will select all wrappers and apply slide on them
.toggle();
});
to
$('.tablescroll_head').click(function () {
$(this).next().slideToggle(); //Select only the one that needs to be impacted.
});