I think moving the negative sign is making things even worse. It's important to recall that GRAVITY here is in the DOWN sense. I agree that mathematically it works out to the same, but the derivation is clearer and the code no less clearer if (-GRAVITY) is kept.