add battle panel ui class