adding pointer events option to before mixin.