Fixed index to hide children and created show view