Jquery Fade overflow auto
http://stackoverflow.com/questions/42586181/prevent-jquery-from-jumping-to-the-bottom-when-using-fadein
HTML
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<div id="overflowwrap">
<div id="five" style="display: none;">a lot of content 1</div>
<div id="four" style="display: none;">a lot of content 2</div>
<div id="three" style="display: none;">a lot of content 3</div>
<div id="two" style="display: none;">a lot of content 4</div>
<div id="one" style="display: none;">a lot of content 5</div>
</div>
CSS
#overflowwrap {
overflow: auto;
height: 400px;
border: 1px solid red;
}
#one,#two,#three,#four,#five {
height: 250px;
border: 1px solid blue;
margin: 10px;
}
JavaScript
['#one', '#two', '#three', '#four', '#five'].forEach((id, idx) => {
setTimeout(() => {
$(id).fadeIn(500);
$('#overflowwrap').scrollTop(0);
}, idx * 5000);
});