Without seeing the code, I can only guess. If you want to reset the scroll position, you can simply use
window.scrollTo(0,0);
add this code to each function of clicking on a tab, so that when you click on any tab, it will be reset up.
If you have a specific div that has an overflow property
var myDiv = document.getElementById('specificDiv'); myDiv.scrollTop = 0;
source share