swipe gesture on history view