Time for action – creating transitions with a singleton Layer class