Mobile form does not display correctly