sync scroll position