double scaleFactor = photo.getScaleFactor(Window.getClientWidth(),
Window.getClientHeight());
final int width = (int) (photo.getWidth() * scaleFactor);
Image image = new Image(photo.getURL(width));
FocusPanel focusPanel = new FocusPanel(image);
focusPanel.addKeyDownHandler(new KeyDownHandler() {
public void onKeyDown(KeyDownEvent event) {
switch (event.getNativeKeyCode()) {
case KeyCodes.KEY_RIGHT:
showNearbyPhoto(true);
break;