corrects screen width for mobile