layout changes for media type