implemented hover events on chemical elements