add animation classes "slide-in" and "slide-out". Should be applied to "slide"