changed styles and page flow