Post-order indexing for retrieving timeline subtrees

code review: http://mrccodereview.cloudapp.net/ui#review:id=1181