Simple Javascript to make this hover effect work, since it was not possible to make it easily with CSS Only because of the non-existence of a "previous sibling selector"