function resizeTabs() {
    const $windowsize = $('body').width();
    const $sideBarsize = $('.side').width();
    const $maxwidth = ($windowsize - $sideBarsize);
    $('#tabsBar div').each(function () {
        $(this).css({ 'max-width': $maxwidth - 30 });
    });
}
Listerners of CircuitElement panel ,properties panel,time diagram, quichbtn
Some users use touch on laptop so to scroll imp panel on desktop UI