Move the html surrounding tags to the main page view