update current scroll position when orientation changes