adding hover logic