added firefox transition support