Programmatic detection of slides, added options for transform and direction. Demo page going in a different direction.