Added slightly more versatile fade functions