You should calculate the pixel position that you want to scroll to and then use the WebThumbnailViewer's ScrollPosition property to move the scroll bar (or use setScrollPosition in JavaScript). To determine the position, you need to know the height of the thumbs, the index of the thumbnail and any padding.
Here is some JavaScript to do that (assumes your control is named WebThumbnailViewer1)
function EnsureVisible(i) {
var thumbHeight = WebThumbnailViewer1.getThumbSize().Height;
var padding = WebThumbnailViewer1.getThumbPadding();
var spacing = WebThumbnailViewer1.getThumbSpacing();
var posY = (thumbHeight + (padding + spacing) * 2) * i;
WebThumbnailViewer1.setScrollPosition(new atalaPoint(0, -posY));
}
function OnSelectedIndexChanged(){
EnsureVisible(WebThumbnailViewer1.getSelectedIndex());
}
// call this somewhere in your code to hook up the event
WebThumbnailViewer1.SelectedIndexChanged = OnSelectedIndexChanged;