added class attribute to slide model