Tidied up the formatting of the view.