If you are submit data on server side then add attribute "MaintainScroolBackPosition=true" at page directive section
else please tried with below code
<script>
$("#<%=buttonID.ClientID%>").click(function () {
$('html,body').animate({
scrollTop: $(".second").offset().top
},
'slow');
});
</script>