add velocity and gravity to ship movement