Fragment-ation

fixed fragment switching for connectivity query
added connectivity check
2 new layouts for fragments