Wrote mouseover / mouseout logic.