Remember scroll position in doc viewer