On Gravity and the Uncertainty Principle