Media detail view refactoring