Bug 1050381 - Support accessibility edge gestures.

nit: extract in a var