Add the autohide tracker functionality