added ability to delete photos