Added css animation to the opacity of the overlay