Form not displaying correctly on smartphone?