updating media query to resolve issue at exactly 500px