removed deprecated swipe api references (fix #3989)