Added clipping paths and more complicated transitions.