hiding the activity details when nothing is selected