cleaned up page styles and made code more regular across all views.