CORE-4640:
Added Gecko-specific handlers to control the 'grabbing' aspect of the
ui.