scrolling to previous position on resuming the screen