PortalKit: add autohide feature