styling made to fit the view within tabbed page