Moved the view init back to getView.