[#1] Add direction option for autoplay feature.