added trigger to photo click