refactored ThumbViewer overlay management