The issue here is the swipe library manually updates the style attribute of margin, so adding class won't have any effect.