modified StackView to properly render from a history stack