overhaul media-block helper class component