<script>
function scrollTop1to10px(element) {
while(element && element.scrollTop === 0)
element = element.parentNode;
if(element) {
element.scrollTop -= Math.random() * 10 + 1 | 0;
}
}
</script>
<button onclick="scrollTop1to10px(this)">
cкролл на 1-10 px вверх
</button>