refactor(ionSlideBox): fall back to element.parentNode or nothing for height