fixed transitions issue and added embed