force scroll to move in 200px distance javascript code example
Example: js scrolling in div
var divElement = document.getElementById("div");
divElement.scroll({
top: divElement.scrollHeight,//scroll to the bottom of the element
behavior: 'smooth' //auto, smooth, initial, inherit
});