add hide child method to nested view