add panel for viewing details in