<script type="text/javascript">
$(document).ready(function() {
    let scrollContainer = document.querySelector("#thumbs_list_frame");
    let backBtn = document.getElementById("view_scroll_left");
    let nextBtn = document.getElementById("view_scroll_right");
    
    nextBtn.addEventListener("click", (evt) => {
    	scrollContainer.style.scrollBehavior = "smooth";
    	scrollContainer.scrollLeft += 300;
    });
    
    backBtn.addEventListener("click", (evt) => {
    	scrollContainer.style.scrollBehavior = "smooth";
    	scrollContainer.scrollLeft -= 300;
    });
});
</script>