hey it is good you tried but your question has a very easy solution.
You can maintain the position of Scroll Bar when page is posted back by using a simple attribute in Page Directive
<%@ MaintainScrollPositionOnPostback="true"%>
by default its value is False.