create contains function and use in transform and transition mixins
refactor contains function and add additional conditional to check for both ms and webkit prefixes on transform mixin