added album functionality to photos