Added a dynamic CSS rather than a hard-coded one so the accordions are in the right
place no matter how many elements there are