fix bug in mobile browserstack environments

- add a simple if condition to check if this is a mobile test
- only on desktop environments is a "max browser window" possible