Made Transition setup non browser dependant