Swipejs structure implemented