tablet size fix for login and register