Fixing sizing issues in media queries