setting slide class as an option