Added function to open/close a spliter child