Moves the healthBar scaling to the updateHealth event function

adds comments too!