adding initial velocity instead of gravity. Also fixing right wall