working towards single photo viewer, still sloppy