added method to apply the affects of gravity