added swipe for fade.