Performance enhancement

All non-active pages have their children taken out of the render tree