Add corresp mode and refactor css