Fade in and out function refined, footer fades out at top.