Прокрутка для чатбота

var pageHeight = $('#dialog').height();
/*Now at the time of insertion of element*/
pageHeight = pageHeight + 100;
$('#dialog').scrollTop(pageHeight);
FancyJump