show details for events on click