add method setSwipingLayout