moved around the hide function for child lists