fixes unit change on xs screens.