public FocusBehavior(Carousel carousel) {
this.target = carousel;
handlerManager = new HandlerManager(this);
carousel.addPhotoClickHandler(new PhotoClickHandler() {
public void photoClicked(PhotoClickEvent event) {
if (event.getPhotoIndex() == target.getCurrentPhotoIndex()) {
PhotoFocusEvent evt = new PhotoFocusEvent();
evt.setPhoto(event.getPhoto());
evt.setPhotoIndex(event.getPhotoIndex());