if($(window).width() <= 415){
if($(window).scrollTop() == 0){
if($('.bot').hasClass('hide')){
$('.bot').removeClass('hide');
}
if($('#main__background').hasClass('up')){
$('#main__background').removeClass('up');
}
}
else if($(window).scrollTop() != 60){
$('.bot').addClass('hide');
$('#header').addClass('up');
$('#main__background').addClass('up');
}
<div class="spine-widget" data-background-color="#00000000" data-json="skeleton.json" data-atlas="skeleton.atlas" data-scale="0.5" data-animation="animation" style="height: 300px; width: 300px; "></div>
<link rel="stylesheet" href="/css/vendor.css"> // size +100500kb
<link rel="stylesheet" href="/css/init.css"> // size 5kb
<link rel="stylesheet" href="/css/main.css"> // size 500kb