sticking transitions into a sass mixin

also removing the depreciated -ms prefix