var up = $(window).scrollTop() > 100 ? 0 : -102; ? 0 : -102;
var up; if($(window).scrollTop() > 100) up = 0; else up = -102;