Moved the styling outside of the view