syncronize scroll position