Add click events to the two figures and hide/show the info boxes with a small bit of motion.