Added code to help keep the multiple pages from popping out into a browser when the app is set to an iOS home screen