added basic gravity and a tiny bit of collision