Added code to button mixin to make the hover effect smoother with transitions