Animate scrollTo

$(document).on('click', "#bouton", function() {
    $('html,body').animate({scrollTop: $(".contenu").offset().top -50}, 'slow' );
});