fixed some layout issues with the media queries