added xGravity start algorythm