added the fadeout effect for index page