resize energy bar