implemented down gravity, but there is a bug