added double click functionality

double clicking now opens the details view.