Gets rid of custom view, fixes orientation.