fixed issue #1 & #2

fixed bug for scrollview's content offset reset. this is a hacky
solution, any better solution is welcome. check closed issues #1 & #2
for more details.