Rejigging hover code