Move ThumbnailView from viewer.js to its own file