fix memorizing scroll position