added close button for the details view