minor changes for fade in and out duration