adding css and additional classes to details view