initialiseSwipeRecognizer();
source.addHandler(handler, SwipeEndEvent.getType());
}
public void addPinchHandler(PinchHandler handler) {
PinchRecognizer recognizer = new PinchRecognizer(source, new OffsetProvider() {
@Override
public int getLeft() {
return source.getAbsoluteLeft();
}