Disable event propagation and add setting to enable it

Like #197, but for swipe2 branch.