Use javascript over pointer-events to ignore header element clicks