fixed range random x-axis of obstacle