fixed a state error in top panel scss