add max-width to panel and center