changed gravity horizontally of input to be 1000