hide highlight bar when necessary + clean up