Allow change slideshow direction.