CMS Tree Page View - Version 1.2.30 by Pär Thernström - has this function built in. This plugin works well in wp4.0