switch frame checking - setting tab in middle is messing with it - also made switchToTab show WebView when tapped if it has a webView besides blank