photo album, search, and refractoring of css