move MediaElement so it runs on the detail pages