improved the way slides are handled
more work on slides
more work