adding y acceleration