example of vertical autoslides
Reformated example
Remove duplication is example code