Mixin for slides