Updating media query for panels