Macc curve now detects screen width
Macc curve copes with changing pathway before the previous pathway loaded