add class for detailview