add views when open detail.