Mobile scroll

On the mobile devices you may encounter the problem that window does not scroll to the beginning of the tab when it's opened. This is especially cumbersom when the tab content is very long. You can easily improve that by adding the following snippet of the code to the page:

(function($) {
    $(document).ready(function() {
        $('.cfg_tabs_wrapper').on('cfgTabs_show', function (event, index, id) {
            if ($(this).hasClass('mobile')) {
                $('html, body').animate({ scrollTop: $(this).find('[data-tab-trigger="' + id + '"]').offset().top });