fixing issue with max-width media query