Added fragment switching support.  Still not implemented though