Top bar class modification