Add direction attribute for ionSlideBox