jump to next space with different heights