Form not displaying correctly on mobile devices