;

        if ($(this).attr('data-target') === undefined && $(this).attr('href').length > 1) {
          var hash = $(this).attr('href').substring(1),
            objt = $('#' + hash),
            objt_mt = Number(objt.css('margin-top').replace(/[^0-9]/g, "")),
            depth = 80,
            scrn = $(window).width();
          scrn_check = 1025;

          if (scrn < scrn_check) {
            depth = 120;
          }

          if (objt_mt > 0) {
            depth = depth + objt_mt
          }

       