makes mobile header more robust
adds styling for form errors