void WebBrowser_DocumentCompleted(object sender, Gecko.Events.GeckoDocumentCompletedEventArgs e)
 {
     _browser.AddMessageEventListener("gridClick", ItemClick);
     _browser.AddMessageEventListener("gridReordered", GridReordered);
     SelectPage(_selectedPage);
     _browser.VerticalScrollDistance = _verticalScrollDistance;
 }
 private void AddThumbnailListeners()
 {
     _browser.AddMessageEventListener("gridClick", ItemClick);
     _browser.AddMessageEventListener("gridReordered", GridReordered);
     _browser.AddMessageEventListener("menuClicked", MenuClick);
 }