view details button functionality

view details button functionality