Added swipe detection on view position trace