Fix css class toggle in top bar, for local links