cap retries on scroll adjustment
improve Shiny document switch between pane/window