Create array to contain Y pos before gets reset