function Wo_progressIconLoader(container_elem) {
  container_elem.each(function() {
    progress_icon_elem = $(this).find('i.progress-icon');
    default_icon = progress_icon_elem.attr('data-icon');
    hide_back = false;
    if (progress_icon_elem.hasClass('hidde') == true) {
      hide_back = true;
    }
    if ($(this).find('i.fa-circle-o-notch').length == 1) {
      progress_icon_elem
        .removeClass('fa-circle-o-notch')
        .removeClass('fa-spin')
        .addClass('fa-' + default_icon);
      if (hide_back == true) {
        progress_icon_elem.hide();
      }
    } else {
      progress_icon_elem.removeClass('fa-' + default_icon).addClass('fa-circle-o-notch fa-spin').show();
    }
    return true;
  });
}

$(document).ready(function() {
  $('.nav-footer-toggle').on('click', function(e) {
    e.preventDefault();
    $(this).parent().toggleClass('Wide-Footer');
    $(".nav-footer-toggle i").toggleClass('fa-arrow-circle-up fa-arrow-circle-down');
  });
});