adding foundation interchange functionality so that GMap is not loaded on small devices