Add selection listener to media detail element to allow showing supplemental data (#3367)
refactoring of package names for consistency