Add an appendview method to the view