fixed layout problems for media queries