add fade effect to adaptive html