Implements #23: ViewStack declarative API for setting/getting selected child