added custom duration to fade