make all the way scrolled down the default html code example
Example 1: javascript scroll to bottom of div
$("#mydiv").scrollTop($("#mydiv")[0].scrollHeight);
Example 2: js scroll to bottom of element
var objDiv = document.getElementById("your_div");
objDiv.scrollTop = objDiv.scrollHeight;