Maintain scroll position after post back

Maintain scroll position after post back

Hi guys,

I am working on a web project using Jquery mobile, and web forms.

I am trying to maintain the scroll position after post back but it is not working on pages that have references to the jqm resources( js and css files). The page always returns to the top after post back.
on regular web forms there is no problem.

I have tried to set the scroll position using the maintainScrollPositionOnPostBack property of the page(did not work), and with a javascript function that uses window.ScrollTo(x,y) - which also did not work. (i called the function on the pageinit event). 

Does anyone have any idea how to achieve this?

Thanks :)