replaced css display none with hide and fade