make sure isVerticalSlide doesn't throw npe