The UI part of PhotoGallery