preserve scroll positions for Shiny documents in desktop mode