1030366: Hidden toolbar is not really hidden when editing contact, r=yzen

Lines 62-65 should be factored out into a separate function used by the one that taps and the one that a11y clicks.