use xAppSearchLib, optimize swipe