fix for modal log-in on mobile