Refresh the file n seconds after movement stops, where n is specified in viewRefreshTime.
viewRefreshTime