adds styling and some offset calculations for displaying the challenge graph