Made slideshow create all slides and switch which is visible instead of having 1 element which it changed the content of, also improved tests