Porting ViewStack to dui