add isVerticalSlide utility method