Add CSS transition support