add function for transitions between lights