Adds the view stack