removed deprecated swipe api references (fix #3989)
Merge pull request #4017 from 0x1mason/swipe_test_fix2

removed deprecated swipe api references (fix #3989)