don't let the extendEdges settings affect tab.win and subWindow on Android
simplify subWindow-handling