“Design is how it works.”
clicking on ".slide" adds class "current" to ".current + .slide" clicking on ".slide:last-of-type" adds class "current" to ".slide:first-of-type" clicking on ".slide" removes class "current" from "itself"