setting class for all slides on post render