jQuery(document).ready(function() {
    
    //433
    
    if ($('#rollSocials').length != 0) {
        var roll = $('#rollSocials');
        //var yloc = parseInt(roll.css("top"));
        var xloc = ($(window).width() - 1027) / 2 - 105;
        
        console.log(xloc);
        
         $(window).scroll(function() {
            if (roll.css("position") != "fixed" && $(window).scrollTop() > 433) {
                console.log((-1 * xloc));
                roll.css({ "position": "fixed", "top": 10, "right": xloc});
            } else if ($(window).scrollTop() <= 433) {
                roll.css({ "position": "absolute", "top": 0, "right": -105});
            }
        });
    };
});
