changed hover logic