creating a web page which saves the scroll position during auto-refresh