adding hover logic to buttons