code: func renderFile() {
  	var err error
  	theFic, err = newFileItemContainer(fileThumbnailHeight)
  	if err != nil {
  		fmt.Printf("error creating file container: %v\n", err)
  		return
  	}
  	if err := theFic.populate(); err != nil {
  		fmt.Printf("Error initializing file container: %v", err)
  		return
  	}
  	if err := theFic.render(); err != nil {
  		fmt.Printf("Error rendering file container: %v", err)
  		return
  	}
  
  	jQuery(js.Global).Call(jquery.KEYUP, func(e jquery.Event) {
  		if e.Which == 37 {
  			theFic.doPrev()
  			go func() {
  				if err := theFic.render(); err != nil {
  					fmt.Printf("Error rendering file container: %v", err)
  				}
  			}()
  			return
  		}
  		if e.Which == 39 {
  			theFic.doNext()
  			go func() {
  				if err := theFic.render(); err != nil {
  					fmt.Printf("Error rendering file container: %v", err)
  				}
  			}()
  			return
  		}
  	})
  }
docs: // renderFile creates a fileItemContainer, populates it, renders it, and
  // binds the left and right arrow keys for to it for navigation.