add fade in and fade out effect to buttons and links