Fix program scroll position when resuming fragment.