fix layout on the registration page for mobile