Moving location of a view appearance transition method until after it has been added as a subview to ensure the view is loaded.