trim the registration button for mobile stuff