jQuery(document).ready(function($) {
    //add move to top featured
    var window_height = $(window).height();
    var window_height = (window_height) + (50);
    
    

    $(window).scroll(function() {
        var scroll_top = $(window).scrollTop();
        if (scroll_top > window_height) {
            $('.encounters_lite_move_to_top').show();
        }
        else {
            $('.encounters_lite_move_to_top').hide();   
        }
    });
    $('.encounters_lite_move_to_top').click(function(){
        $('html, body').animate({scrollTop:0}, 'slow');
        return false;
        
    });

    
})