added some animation for fade transition